package dao;

import java.sql.Timestamp;

/**
 * AbstractProblem entity provides the base persistence definition of the
 * Problem entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractProblem implements java.io.Serializable {

	// Fields

	private Integer problemId;
	private String source;
	private String title;
	private String problemPath;
	private String inputPath;
	private String outputPath;
	private String stdcodePath;
	private Timestamp createDate;
	private Integer timeLimit;
	private Integer caseTimeLimit;
	private Integer memoryLimit;
	private Short defunct;
	private Integer contestId;
	private Integer accepted;
	private Integer submit;
	private Integer error;
	private Short difficulty;
	private Integer submitUser;
	private Integer solvedUser;

	// Constructors

	/** default constructor */
	public AbstractProblem() {
	}

	/** minimal constructor */
	public AbstractProblem(Integer problemId, String title, Integer timeLimit,
			Integer caseTimeLimit, Integer memoryLimit, Short defunct,
			Short difficulty) {
		this.problemId = problemId;
		this.title = title;
		this.timeLimit = timeLimit;
		this.caseTimeLimit = caseTimeLimit;
		this.memoryLimit = memoryLimit;
		this.defunct = defunct;
		this.difficulty = difficulty;
	}

	/** full constructor */
	public AbstractProblem(Integer problemId, String source, String title,
			String problemPath, String inputPath, String outputPath,
			String stdcodePath, Timestamp createDate, Integer timeLimit,
			Integer caseTimeLimit, Integer memoryLimit, Short defunct,
			Integer contestId, Integer accepted, Integer submit, Integer error,
			Short difficulty, Integer submitUser, Integer solvedUser) {
		this.problemId = problemId;
		this.source = source;
		this.title = title;
		this.problemPath = problemPath;
		this.inputPath = inputPath;
		this.outputPath = outputPath;
		this.stdcodePath = stdcodePath;
		this.createDate = createDate;
		this.timeLimit = timeLimit;
		this.caseTimeLimit = caseTimeLimit;
		this.memoryLimit = memoryLimit;
		this.defunct = defunct;
		this.contestId = contestId;
		this.accepted = accepted;
		this.submit = submit;
		this.error = error;
		this.difficulty = difficulty;
		this.submitUser = submitUser;
		this.solvedUser = solvedUser;
	}

	// Property accessors

	public Integer getProblemId() {
		return this.problemId;
	}

	public void setProblemId(Integer problemId) {
		this.problemId = problemId;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getProblemPath() {
		return this.problemPath;
	}

	public void setProblemPath(String problemPath) {
		this.problemPath = problemPath;
	}

	public String getInputPath() {
		return this.inputPath;
	}

	public void setInputPath(String inputPath) {
		this.inputPath = inputPath;
	}

	public String getOutputPath() {
		return this.outputPath;
	}

	public void setOutputPath(String outputPath) {
		this.outputPath = outputPath;
	}

	public String getStdcodePath() {
		return this.stdcodePath;
	}

	public void setStdcodePath(String stdcodePath) {
		this.stdcodePath = stdcodePath;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Integer getTimeLimit() {
		return this.timeLimit;
	}

	public void setTimeLimit(Integer timeLimit) {
		this.timeLimit = timeLimit;
	}

	public Integer getCaseTimeLimit() {
		return this.caseTimeLimit;
	}

	public void setCaseTimeLimit(Integer caseTimeLimit) {
		this.caseTimeLimit = caseTimeLimit;
	}

	public Integer getMemoryLimit() {
		return this.memoryLimit;
	}

	public void setMemoryLimit(Integer memoryLimit) {
		this.memoryLimit = memoryLimit;
	}

	public Short getDefunct() {
		return this.defunct;
	}

	public void setDefunct(Short defunct) {
		this.defunct = defunct;
	}

	public Integer getContestId() {
		return this.contestId;
	}

	public void setContestId(Integer contestId) {
		this.contestId = contestId;
	}

	public Integer getAccepted() {
		return this.accepted;
	}

	public void setAccepted(Integer accepted) {
		this.accepted = accepted;
	}

	public Integer getSubmit() {
		return this.submit;
	}

	public void setSubmit(Integer submit) {
		this.submit = submit;
	}

	public Integer getError() {
		return this.error;
	}

	public void setError(Integer error) {
		this.error = error;
	}

	public Short getDifficulty() {
		return this.difficulty;
	}

	public void setDifficulty(Short difficulty) {
		this.difficulty = difficulty;
	}

	public Integer getSubmitUser() {
		return this.submitUser;
	}

	public void setSubmitUser(Integer submitUser) {
		this.submitUser = submitUser;
	}

	public Integer getSolvedUser() {
		return this.solvedUser;
	}

	public void setSolvedUser(Integer solvedUser) {
		this.solvedUser = solvedUser;
	}

}